<template>
	<view class="container">
		<view class="title" :style="{ marginTop: safeTop + 'px'}">
			<image class="back" @tap="back" :src="baseurl + '/tongzhi/ic_back.png'"></image>
			<text>提醒通知</text>
		</view>
			<view class="content">
				<view class="item" v-for="item in 3">
					<image class="logo" :src="baseurl + '/tongzhi/logo.png'"></image>
					<view class="right">
						<text class="info">你的BT工作室七武海女帝已经开启补款了！</text>
						<image src="https://lanhu-dds-backend.oss-cn-beijing.aliyuncs.com/merge_image/imgs/7ddaeac1a54b49d48d3ff71469e93be7_mergeImage.png"></image>
						<text class="date">1985/08/01 11:24AM</text>
					</view>
				</view>
			</view>
	</view>
</template>

<script setup>
	import {baseUrl} from '@/setting/const.js';
	import {ref} from 'vue'
	const baseurl = ref(baseUrl)
	// 获取安全区域
	const {
		safeAreaInsets
	} = uni.getSystemInfoSync()
	const safeTop = safeAreaInsets.top + 5
	
	const back=()=>{
		uni.navigateBack()
	}
</script>

<style scoped lang="scss">
	.container {
		box-sizing: border-box;
		background-color: #FFFFFF;
		// background-color: rebeccapurple;

	}
	.content{
		margin-top: 24rpx;
		border-top: 1rpx solid #EEEEEE;
		padding-top: 40rpx;
		
		.item{
			margin-top: 30rpx;
			margin-left: 30rpx;
			display: flex;
			.logo{
				width: 80rpx;
				height: 80rpx;
			}
			.right{
				.info{
					width: 450rpx;
					height: 84rpx;
					font-family: PingFangSC, PingFang SC;
					font-weight: 400;
					font-size: 30rpx;
					color: #333333;
					line-height: 42rpx;
					text-align: left;
					font-style: normal;
				}
				margin-left: 20rpx;
				width: 490rpx;
				// height: 385rpx;
				background: #F4F5F8;
				border-radius: 10rpx;
				display: flex;
				flex-direction: column;
				padding: 20rpx;
				// padding-top: 20rpx;
				image{
					width: 198rpx;
					height: 198rpx;
					margin-top: 10rpx;
					border-radius: 10rpx;
					// border: 1rpx solid #979797;
				}
				.date{
					width: 229rpx;
					height: 33rpx;
					font-family: PingFangSC, PingFang SC;
					font-weight: 400;
					font-size: 24rpx;
					color: #979A9E;
					line-height: 33rpx;
					text-align: left;
					font-style: normal;
					margin-top: 20rpx;
				}
			}
		}
	}
	.title {
		box-sizing: border-box;
		// width: 750rpx;
		background-color: #ffffff;
		height: 61rpx;
		display: flex;
		align-items: center;
		// padding-bottom: 24rpx;
		// border-bottom: 1rpx solid #EEEEEE;;
		// justify-content: space-between;
		
		// background-color: forestgreen;
		text{
			font-family: PingFangSC, PingFang SC;
			font-weight: 600;
			font-size: 36rpx;
			color: #222222;
			line-height: 42rpx;
			text-align: center;
			font-style: normal;
			text-transform: none;
			margin: 0 auto;
			// background-color: red;
		}
		
		image{
			position: absolute;
			left: 10rpx;
			width: 60rpx;
			height: 60rpx;
			// padding-left: 10rpx;
		}
	}

</style>
